<?php

namespace platform\controllers;

use platform\core\BaseController;
use platform\interfaces\OrderInterface;
use cm;
use platform\models\OrderModel;

class OrderController extends BaseController implements OrderInterface
{
    function actionIndex()
    {
        $data = (new OrderModel())->actionIndex();
        return Cm::$res->render($this, "index", $data, '订单管理');
    }

    function actionDownexport()
    {
    	return (new OrderModel())->actionDownexport();	
    }
}